<template>
  <div class="breadcrumb">aaa
    <span v-for="(item, index) in breadcrumbItems" :key="index">
      <a @click="handleBreadcrumbClick(item)">{{ item.name }}</a>
      <span v-if="index !== breadcrumbItems.length - 1">/</span>
    </span>
  </div>
</template>
<script>
export default {
  name: "Breadcrumb",
  data() {
    return {
      breadcrumbItems: [
        {
          name: "备份盘",
          id: "root",
        },
      ],
    };
  },
};
</script>
<style lang="scss" scoped>
.breadcrumb{
  width: 30px;
  height: 30px;
}
</style>
